function [ C ] = create_cluster( mu, sigma, cluster_size )
%CREATE_CLUSTER the function creates a cluster from the given parametrs
% The function creates a cluster from the given parameters:
%mu - the expectation vector
%sigma - the std deviation vector
%cluster_size the size of the requested cluster
%Result:
%C - a d-by-cluster_size matrix where d is the size of mu and sigma
%containing the cluster

[mu_r, mu_c] = size(mu);
[sig_r, sig_c] = size(sigma);
if (mu_r ~= sig_r || mu_c ~= 1 || sig_c ~= 1)
    error('Wrong dimensions');
end

C = zeros(mu_r, cluster_size);
for i=1:cluster_size
    C(:,i) = create_sample(mu,sigma);
end
